package com.heima.home.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Bookings {
    private Long id;
    private String bookingNo;
    private Long userId;
    private Long propertyId;
    private Long hostId;
    private LocalDate checkInDate;
    private LocalDate checkOutDate;
    private Integer guests;
    private Integer nights;
    private BigDecimal basePrice;
    private BigDecimal cleaningFee;
    private BigDecimal serviceFee;
    private BigDecimal totalAmount;
    private Integer status;
    private Integer paymentStatus;
    private String cancellationReason;
    private LocalDateTime cancelledAt;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;


}